<html>
	
	<script type='text/javascript' src='./WdatePicker.js'></script>
	<script>
		function selectReturnDate() 
		{
			 
			var config = 
			{
				startDate : '%y-%M-%d %H:%m:%s',
				alwaysUseStartDate : true,
				errDealMode : 1,
			 
				dateFmt : 'yyyy-MM-dd HH:mm',
				skin : 'blue'
			};
			 
			WdatePicker(config);
		}
	</script>
	
	<body>
		 <input type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})" />
		 
		 <input  onfocus="selectReturnDate()" readonly="readonly"   />
	</body>
</html>